home *** CD-ROM | disk | FTP | other *** search
/ Boot Disc 13 / boot-disc-1997-09.iso / HyprWire / DATA.Z / 05 Light.mdf < prev    next >
Text File  |  1997-01-25  |  4KB  |  187 lines

  1. kxKinetix
  2. kxType = kxSmalltalkJavaPlugIn
  3.  
  4. kxModuleDefinition W3DLight = 
  5.   {
  6.   kxPublicName = "3D Light"
  7.   kxVersion = "1.0"
  8.   kxCreationTime = "05/24/96  12:26:14 PM"
  9.   kxAuthor = "Kinetix"
  10.   kxLargeIcon = kxBmResType "ModIcons.dll" "LIGHT02" 0xFF00FF
  11.   kxSmallIcon = kxBmResType "ModIcons.dll" "LIGHT01" 0xFF00FF
  12.   kxLargeIcon24 = kxBmResType "ModIcons.dll" "LIGHT02H"
  13.   kxSmallIcon24 = kxBmResType "ModIcons.dll" "LIGHT01H"
  14.   kxSmalltalkLibraries = "cdk"
  15.   kxSmalltalkProxyClass = W3DLightBundle
  16.   kxShortDescription = "VRML (VRBL) animated light object definition module."
  17. //  kxHelpDoc = "http://www.hyperwire.com/helpdocs/3D/W3DAnimLight/help.html"
  18.  
  19.     // The Java class which implements the plug-in...
  20.   kxPlugInClass = W3DLightPlugIn
  21.  
  22.     // The Smalltalk editor classes used to edit the properties of this plug-in...
  23.   kxPropertyEditors =  W3DLightEditor OpusLabelCommentEditor ModuleStateEditor PortEditor
  24.  
  25.  
  26.   kxInputPorts =
  27.     {
  28.     kxInclude "Basic.ipt"
  29.      kxInclude "W3DAnim.ipt"
  30.     kxPort GetLightName =
  31.       {
  32.       kxJavaMethod = wiGetObjectName
  33.       kxJavaSignature = "()LString;"
  34.       kxPublicNames = "Get Light Name" "name string"
  35.       }
  36.  
  37.     kxPort IsOn =
  38.       {
  39.       kxJavaMethod = wiIsOn
  40.       kxJavaSignature = "()Z"
  41.       kxPublicNames = "Is On?" "Visibility"
  42.       }
  43.  
  44.     kxPort IsOff =
  45.       {
  46.       kxJavaMethod = wiIsOff
  47.       kxJavaSignature = "()Z"
  48.       kxPublicNames = "Is Off?" "Visibility"
  49.       }
  50.  
  51.     kxPort Off =
  52.       {
  53.       kxJavaMethod = wiOff
  54.       kxJavaSignature = "()Z"
  55.       kxPublicNames = "Off" "Not Specified"
  56.       }
  57.  
  58.     kxPort On =
  59.       {
  60.       kxJavaMethod = wiOn
  61.       kxJavaSignature = "()Z"
  62.       kxPublicNames = "On" "Not Specified"
  63.       }
  64.  
  65.     kxPort Toggle =
  66.       {
  67.       kxJavaMethod = wiToggle
  68.       kxJavaSignature = "()Z"
  69.       kxPublicNames = "Toggle" "Not Specified"
  70.       }
  71.  
  72.     kxPort SetOnOff =
  73.       {
  74.       kxJavaMethod = wiSetOnOff
  75.       kxJavaSignature = "(Z)Z"
  76.       kxPublicNames = "Set On/Off" "Boolean state" "Was visible"
  77.       }
  78.  
  79.     kxPort GetMagnitude =
  80.       {
  81.       kxJavaMethod = wiGetMagnitude
  82.       kxJavaSignature = "()LHwDouble;"
  83.       kxPublicNames = "Get Intensity" "Not Specified"
  84.       }
  85.  
  86.     kxPort GetToPoint =
  87.       {
  88.       kxJavaMethod = wiGetToPoint
  89.       kxJavaSignature = "()LPoint3;"
  90.       kxPublicNames = "Get Target" "Not Specified"
  91.       }
  92.  
  93.     kxPort GetFromPoint =
  94.       {
  95.       kxJavaMethod = wiGetFromPoint
  96.       kxJavaSignature = "()LPoint3;"
  97.       kxPublicNames = "Get Position" "Not Specified"
  98.       }
  99.  
  100.     kxPort GetColor =
  101.       {
  102.       kxJavaMethod = wiGetColor
  103.       kxJavaSignature = "()LHwColor;"
  104.       kxPublicNames = "Get Color" "Not Specified"
  105.       }
  106.  
  107.     kxPort GetType =
  108.       {
  109.       kxJavaMethod = wiGetType
  110.       kxJavaSignature = "()LString;"
  111.       kxPublicNames = "Get Type" "String type"
  112.       }
  113.  
  114.     kxPort SetColor =
  115.       {
  116.       kxJavaMethod = wiSetColor
  117.       kxJavaSignature = "(LHwColor;)Z"
  118.       kxPublicNames = "Set Color" "Color" "Not Specified"
  119.       }
  120.     kxPort SetMagnitude =
  121.       {
  122.       kxJavaMethod = wiSetIntensity
  123.       kxJavaSignature = "(D)Z"
  124.       kxPublicNames = "Set Intensity" "Intensity > 0.0" "Not Specified"
  125.       }
  126.     kxPort SetFromPoint = 
  127.       {
  128.       kxJavaMethod = wiSetFromPoint
  129.       kxJavaSignature = "(LPoint3;)Z"
  130.       kxPublicNames = "Set Position" "Position Point" "Not Specified"
  131.       }
  132.     kxPort SetToPoint = 
  133.       {
  134.       kxJavaMethod = wiSetToPoint
  135.       kxJavaSignature = "(LPoint3;)Z"
  136.       kxPublicNames = "Set Target" "Target Point" "Not Specified"
  137.       }
  138.     kxPort SetOrientation = 
  139.       {
  140.       kxJavaMethod = wiSetOrientation
  141.       kxJavaSignature = "(LPoint3;LPoint3;)Z"
  142.       kxPublicNames = "Set Orientation" "Position Point" "Target Point" "Not Specified"
  143.       }
  144.     }
  145.  
  146.   kxInputPortsMenu =
  147.     {
  148.     Reset
  149.     GetLightName
  150.     On
  151.     Off
  152.     Toggle
  153.     Go
  154.     Stop
  155.     kxMenu "More" = 
  156.       {
  157.       kxInclude "Basic.imn"
  158.       kxInclude "W3DAnim.imn"
  159.       kxInclude "Visibility.imn"
  160.       kxMenu "Light Data" = 
  161.         {
  162.         GetType
  163.         GetColor
  164.         GetFromPoint
  165.         GetToPoint
  166.         GetMagnitude
  167.         kxSeparator
  168.         SetColor
  169.         SetFromPoint
  170.         SetToPoint
  171.         SetMagnitude
  172.       }
  173.     }
  174.    }
  175.    kxOutputPorts =
  176.     {
  177.     kxInclude "W3DAnim.opt"
  178.     }
  179.  
  180.   kxOutputPortsMenu =
  181.        {
  182.     kxInclude "W3DAnim.omn"
  183.     }
  184.   }
  185.  
  186.  
  187.